package no.spk.util.inforama.web.impl;

import java.util.List;

import no.spk.util.inforama.service.InfoRamaService;
import no.spk.util.inforama.service.deployable.Deployable;
import no.spk.util.inforama.web.InfoRamaWebController;
/**
 * @author Marius Breivik - Accenture
 */
public class InfoRamaWebControllerImpl implements InfoRamaWebController {
	
	private InfoRamaService inforamaService;

	public InfoRamaWebControllerImpl() {
	}
	
	public List<String> getContainerNames() {
		return inforamaService.getContainerNames();
	}

	public List<Deployable> getDeployables(String containerName) {
		return inforamaService.getDeployables(containerName);
	}

	public void setInforamaService(InfoRamaService inforamaService) {
		this.inforamaService = inforamaService;
		System.out.println( "WebController - setInfoRamaServer - inforamaService er " + inforamaService);
	}
	

}
